package cn.bx.spring.demo;

public class Person2 {
    private String personName;
    private String word;

    public void say(){
        System.out.println(personName+"说"+word);
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }
}
